package com.feng.jvm;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @author LEE
 */
//@Data
@XmlRootElement(name = "BODY")
public class XmlBean {

    private String ncstnm;
    private String nlegalnm;
    private String nlegalphone;
    private String hostNo;
    private String operName;
    private String hostName;
    private String cstNo;
    private String coreBranchNo;
    private String coreBranchName;
    private String proxyncstname;
    private String proxyncstphone;
    private String sendsmsphone;

    @XmlElementWrapper()
    private List<String> strings;

    @XmlElement(name = "STRINGS")
    public List<String> getStrings() {
        return strings;
    }

    public void setStrings(List<String> strings) {
        this.strings = strings;
    }

    @XmlElement(name = "BODY/PRIVATE/ACT/ncstnm1")
    public String getNcstnm() {
        return ncstnm;
    }

    public void setNcstnm(String ncstnm) {
        this.ncstnm = ncstnm;
    }

    public String getNlegalnm() {
        return nlegalnm;
    }

    public void setNlegalnm(String nlegalnm) {
        this.nlegalnm = nlegalnm;
    }

    public String getNlegalphone() {
        return nlegalphone;
    }

    public void setNlegalphone(String nlegalphone) {
        this.nlegalphone = nlegalphone;
    }

    public String getHostNo() {
        return hostNo;
    }

    public void setHostNo(String hostNo) {
        this.hostNo = hostNo;
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getCstNo() {
        return cstNo;
    }

    public void setCstNo(String cstNo) {
        this.cstNo = cstNo;
    }

    public String getCoreBranchNo() {
        return coreBranchNo;
    }

    public void setCoreBranchNo(String coreBranchNo) {
        this.coreBranchNo = coreBranchNo;
    }

    public String getCoreBranchName() {
        return coreBranchName;
    }

    public void setCoreBranchName(String coreBranchName) {
        this.coreBranchName = coreBranchName;
    }

    public String getProxyncstname() {
        return proxyncstname;
    }

    public void setProxyncstname(String proxyncstname) {
        this.proxyncstname = proxyncstname;
    }

    public String getProxyncstphone() {
        return proxyncstphone;
    }

    public void setProxyncstphone(String proxyncstphone) {
        this.proxyncstphone = proxyncstphone;
    }

    public String getSendsmsphone() {
        return sendsmsphone;
    }

    public void setSendsmsphone(String sendsmsphone) {
        this.sendsmsphone = sendsmsphone;
    }
}
